package com.zlay.javafx.examples.common;

import java.io.File;
import java.io.IOException;
import java.util.Map;

import org.apache.log4j.Logger;

public class ExCommonUtils {
	
	private static Logger logger = Logger.getLogger(ExCommonUtils.class);
	
	/** 程序运行目录 结尾无/ */
	public static String APP_HOME;
	static {
		try {
			APP_HOME = new File("").getCanonicalPath();
			APP_HOME = APP_HOME.replaceAll("\\\\", "/").trim();
		} catch (IOException e) {
			logger.error("get APP_HOME error!");
		}
	}
	
}
